#ifndef QUICKSORT_H
#define QUICKSORT_H
#include "ialgo.h"

class QuickSort: public IAlgo
{
public:
    QuickSort(QObject *parent);

    // IAlgo interface
public:
    virtual QString name() override;
    virtual void run() override;

private:
    void sort(QVector<int> &data, int left, int right);
};

#endif // QUICKSORT_H
